<?php

namespace common\dict;


/**
 *
 */
class NumberDict
{

    const KEY_MAP = [
       
    ];

    const DATA = [
        
    ];

    /**
     * @param $status
     * @param array $dict
     * @return mixed|string
     */
    public static function getNumberName($status, array $dict)
    {
        $size = count($dict);
        for ($i = 0; $i < $size; $i++) {
            if ($dict[$i]['value'] == $status) {
                return $dict[$i]['label'];
            }
        }
        return '';
    }
}
